﻿@model Aga.GestionDeArchivos.Web.Models.Setup.SetupModel
           
@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_Layout.cshtml";    
}
<h2>Index</h2>

@if (!Model.IsSetupComplete) {

    using (Html.BeginForm()) {
        
    <div class="editor-label">
        @Html.LabelFor(m => m.AdminPassword)
    </div>
    <div class="editor-field">
        @Html.PasswordFor(m => m.AdminPassword)
        @Html.ValidationMessageFor(m => m.AdminPassword)
    </div>
    <p>
        <input type="submit" value="Inicializar Sistema" />
    </p>
    
    }
    
} else {
    
    <p> Setup is Complete!</p>
    
}